Scenario-based Synthesis of Annotated Class Diagrams in UML
نویسندگان
چکیده
This paper discusses how to generate a class diagram, annotated with operation descriptions, from a set of sequence diagrams in the Unified Modeling Language (UML). The transformation process consists of the following steps. First, we translate the elements in a sequence diagram to elements of class diagrams using basic transformation rules together with more advanced heuristics. We then use an existing technique for synthesizing state machines from a set of sequence diagrams to describe an overall structure of individual operations. Finally, we transform the synthesized state machines to pseudocode presentations, which are attached to the class diagram as operation descriptions. An example is followed through to illustrate these mechanisms. We have a practical implementation integrated to a real world UML modeling tool, the Nokia TED. This particular transform operation is an integral part of a larger framework of model operations used for checking, merging, slicing and synthesis of UML models.
منابع مشابه
The Fujaba Statechart Synthesis Approach
The Fujaba project tries to provide tool support for iterative software development with the UML. Each iteration starts with a textual scenario description for some new usecase. Then this textual scenario is refined by UML scenario diagrams, i.e. activity diagrams or collaboration diagrams or sequence diagrams. Along with these scenarios, we derive class diagram elements for all used kinds of o...
متن کاملSynchronizing Refactored UML Class Diagrams and OCL Constraints
UML class diagrams are usually annotated with OCL expressions that constrain their possible instantiation. In our work we have investigated how OCL annotations can be automatically updated each time the underlying diagram is refactored. All our refactoring rules are formally specified using a QVT-based graphical formalism and have been implemented in our tool ROCLET. I. REFACTORING CLASS DIAGRA...
متن کاملScenario Testing Using Formal Ontologies
One of the challenges in the Software Development Life Cycle (SDLC) is to ensure that the requirements that drive the development of a software system are correct. However, establishing unambiguous and error-free requirements is not a trivial problem. As part of the requirements phase of the SDLC, a conceptual model can be created which describes the objects, relationships and operations that a...
متن کاملNatural Language Processing for Scenario based UML Diagrams Generation
This paper presents a natural language processing based automated system for generating UML diagrams after analyzing the given business scenario. A new model is presented for analyzing the natural languages and extracting the relative and required information from the given storyline by the user. User writes the requirements in simple English in a few paragraphs and the designed system has cons...
متن کاملAn Improved Model-Based Technique for Generating Test Scenarios from UML Class Diagrams
The foundation of any software testing process is test scenario generation. This is because it forecasts the expected output of a system under development by extracting the artifacts expressed in any of the Unified Modeling Language (UML) diagrams, which are eventually used as the basis for software testing. Class diagrams are UML structural diagrams that describe a system by displaying its cla...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000